﻿using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using LuaFramework;

public class PackageManager  {

    // 卸载 package 检查时间
    private const int UNLOAD_TIME = 5;

    // 缓存资源包字典

    public static string GetPackagePath(string packageName)
    {
        string p = string.Format("{0}.{1}", packageName, RGResource.PACKAGE_SUFFIX).ToLower();
        return Path.Combine(Util.DataPath, p);
    }
}
